package com.yida.gwj.deposit.domain.request.split;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lqq
 * @date 2023-02-22
 */
@ApiModel("资金分户初始化 小区")
public class GwjFundsSplitBusinessCommunityRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("业务小区ID")
	private Long bizCommunityId;

	@ApiModelProperty("小区ID")
	@NotNull(message = "请求数据有误[小区ID]不能为空")
	private Long communityId;

	@ApiModelProperty("小区名称")
	@NotBlank(message = "请求数据有误[小区名称]不能为空")
	private String communityName;

	@ApiModelProperty("所属区县")
	@NotNull(message = "请求数据有误[区县]不能为空")
	private Long areaId;

	@ApiModelProperty("所属街道")
	@NotNull(message = "请求数据有误[街道]不能为空")
	private Long streetId;

	@ApiModelProperty("业务ID")
	private Long bizId;

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public Long getBizCommunityId() {
		return bizCommunityId;
	}

	public void setBizCommunityId(Long bizCommunityId) {
		this.bizCommunityId = bizCommunityId;
	}

	public Long getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}

	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjFundsSplitBusinessCommunityRequest{");
		sb.append("bizCommunityId=").append(bizCommunityId);
		sb.append(", communityId=").append(communityId);
		sb.append(", communityName='").append(communityName).append('\'');
		sb.append(", areaId=").append(areaId);
		sb.append(", streetId=").append(streetId);
		sb.append(", bizId=").append(bizId);
		sb.append('}');
		return sb.toString();
	}
}
